Near-Infrared Photometry of the Irregular Satellites of Jupiter and Saturn