ChatGPT vs Perplexity: Which is better for Research