Dynamic behavior of buildings subjected to vertical ground motions