Second harmonic generation in quantum wells enhanced via coupling to metamaterials