Scientists teach robots how to trick humans