The effect of training on visual alignment discrimination and grating resolution