Portable infrared carbon dioxide detector for monitoring vehicular emissions