Understanding and Improving Visual Prompting: A Label-Mapping Perspective