Structural, thermal and photoemission properties of erbium doped phosphate glass