A winter storm has caused chaos in parts California, bringing heavy rains to some areas and snow elsewhere.