What is the main cause of painful periods in young girls?