The cost of reproduction: how does it interact with the social and physical environment?