Static and seismic bearing capacity of shallow strip foundations on slopes