CorrSynth -- A Correlated Sampling Method for Diverse Dataset Generation from LLMs