Cooperation and deception: from evolution to mechanisms