Resveratrol protects astrocytes against traumatic brain injury through inhibiting apoptotic and autophagic cell death