Quake felt from LA to San Diego, swaying buildings but no serious damage