Investigating the Impact of Quantization Methods on the Safety and Reliability of Large Language Models