Costa Rica’s strict building codes prevent major damage in powerful quake