The economy of nature and the evolution of sex