Evolving human cooperation with intelligent agents