Cohen–Macaulayness of two classes of circulant graphs