Pigs can play video games with their snouts, scientists find