A new diode-based carbon monoxide gas sensor utilizing Pt–SnOx/diamond