Cohen–Macaulay binomial edge ideals and accessible graphs