Here’s how diet affects menstrual cramps