Seismic bearing capacity of shallow foundations