Origins of human cooperation and morality