To solve the gender pay gap, we need to give women more flexibility at work