Effects of noncondensable gas on cavitating nozzles