New insight in the structure–luminescence relationships of Ca9Eu(PO4)7