Infrared Photometry and Evolution of Mass-Losing AGB Stars. II. Luminosity and Colors of MS and S Stars