Influence of groundwater on the bearing capacity of shallow foundations