Second harmonic generation by modal phase matching involving optical and plasmonic modes