Detailed investigation of defect states in Erbium doped In2O3 thin films