Second harmonic generation in waveguides induced by photorefractive spatial solitons