Optical and Near-Infrared Observations of the Peculiar Type Ia Supernova 1999ac