Modifying phase, shape and optical thermometry of NaGdF4:2%Er3+ phosphors through Ca2+ doping.