Tracing the Dynamics of Disk Galaxies with Optical and Infrared Surface Photometry: Color Gradients in M99