Mechanisms of excitation of the f-f emission in silicon codoped with erbium and oxygen