Bi3+ acting both as an electron and as a hole trap in La-, Y-, and LuPO4