Fabrication of waveguides in glasses by a poling procedure