A developmental study of visual and haptic perception of form