Pore-confined synthesis of mesoporous nanocrystalline La–Ce phosphate films for sensing applications