A 35-year-old woman presents with recurrent episodes of abdominal pain and bloating, associated with alternating constipation and diarrhoea. The pain is often relieved by defecation. She has no rectal bleeding or weight loss. Symptoms have been present for over 6 months. FBC, CRP, and coeliac serology are normal. What is the most likely diagnosis?