Genetic and Cultural Evolution of Cooperation