Researchers gave AI an 'inner monologue' and it massively improved its performance