Resveratrol protects early brain injury after subarachnoid hemorrhage by activating autophagy and inhibiting apoptosis mediated by the Akt/mTOR pathway