A powerful earthquake has hit central Mexico, cracking building facades and scattering rubble in the capital on the anniversary of a devastating 1985 quake.