In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPT