Effects of crystal structure on the luminescence properties and energy transfer between Gd3+ and Ce3+ ions in MGd(PO3)4:Ce3+ (M = Li, Na, K, Cs)