Frequency conversion of structured light