Electronic structure of light emitting centers in Er doped Si