Toppling of rigid electric equipment during earthquakes