Consuming energy drinks during team sports could help young people perform better, a study suggests.