A Study on the Static and Seismic Earth Pressure Problems in Anisotropic Granular Media