Training, transfer, and retention of three-dimensional spatial memory in virtual environments