Memory ‘trick’ relieves drug cravings