Hydrodinamic pressures on dams during earthquakes - Approximate formulation