Detecting refrigerant leaks