Magnitude 4.2 earthquake shakes southern California