Heterostructured material consisting of BIVO4 doped with Er3+, method for the production thereof and applications of same