Nafamostat mesilate attenuates transient focal ischemia/reperfusion-induced brain injury via the inhibition of endoplasmic reticulum stress