Buildings collapsed, windows rattled and residents poured into the streets in Venezuela’s capital and nearby cities after two major earthquakes hit.