Resveratrol attenuated hydrogen peroxide-induced myocardial apoptosis by autophagic flux