Relevance of hydrogen storage properties of ANi3 intermetallics (A = La, Ce, Y) to the ANi2 subunits in their crystal structures