Self-absorption and radiation trapping in Er3+ doped TeO2 based glasses