A reversible hydrogen storage mechanism for sodium alanate: the role of alanes and the catalytic effect of the dopant