Back-to-back powerful earthquakes have slammed Venezuela, collapsing buildings in the capital of Caracas.