Towards a structure-performance relationship for hydrogen storage in Ti-doped NaAlH4 nanoparticles