Toward a Homosocial Theory of Sex Roles: An Explanation of the Sex Segregation of Social Institutions