Magnitude 4.7 earthquake shakes parts of Southern California