2D Fem Analysis of Earth and Rockfill Dams under Seismic Condition