5.4 earthquake rattles N. California; heavy rains leave residents without power