Density functional theory calculations of structural, electronic and optical properties of LaPO4:Eu