SN 2012fr: Ultraviolet, Optical, and Near-infrared Light Curves of a Type Ia Supernova Observed within a Day of Explosion