Mental rotation of representations of two-dimensional and three-dimensional objects