Excitation and deexcitation of Er3+ in crystalline silicon