Atmospheric rivers, floods and the water resources of California