California has been hit by record levels of rainfall, which has caused small landslides and flooding in the US state.