Controlled synthesis and optical characterization of multifunctional ordered Y2O3 : Er3+ porous pyramid arrays