All-optical switching via second harmonic generation in a nonlinearly asymmetric directional coupler