Photoluminescence characterization of porous YAG: Yb3+–Er3+ nanoparticles