High-Performance Optical Contaminant Monitor for Spacecraft and Habitats