Researchers suggest the link between menstrual pain as a teenager and adult pain may be down to changes in the nervous system.