Cyclic and dynamic mechanical response of shallow foundations on granular deposits