Why were toilets, changing rooms, sports, prisons etc segregated for men and women in the first place. What was the original logic for this happening?