A link between young people's ability to perform well at two popular video games and high levels of intelligence has been uncovered.