What are the functionalist and conflict theories of the origin of gender roles?

What are the functionalist and conflict theories of the origin of gender roles?