Optical and Near-Infrared UBVRIJHK Photometry for the RR Lyrae Stars in the Nearby Globular Cluster M4 (NGC 6121)