A cloud detection algorithm for high‐spectral‐resolution infrared sounders