6.5-magnitude quake shakes Mexico City and beach resort