Low temperature phase transition and crystal structure of CsMgPO4