First Principles Study of the LiNH2/Li2NH Transformation