Protective effects of electroacupuncture on cardiac function in rats subjected to thoracic surgery trauma