Magnetic-field-induced crossover from the inverse Faraday effect to the optical orientation in EuTe