CW blue-green light emission from GaN and SiC by sum-frequency generation and second harmonic generation