Study of the metal-insulator transition in Ti4O7 by optical investigations