Evolution of the active species and catalytic mechanism of Ti doped NaAlH4 for hydrogen storage