An isoperimetric inequality related to Gaussian measure and applications