X-ray investigations of the high temperature phase transition of betaine phosphate