Effects of concrete cracking on the earthquake response of gravity dams