The role of frontal and parietal cortex in the performance of gifted and average adolescents in a mental rotation task