when the ventricular walls contract