Powerful quake shakes southern Mexico, capital