Static and seismic bearing capacity of shallow strip footings