Tropical storm hilary hits California with state of emergency declared