Spatial ability and perceptual speed of high school students as predictors of achievement in mathematics