Dual-Purpose Sensing Nanoprobe Based on Carbon Dots from o-Phenylenediamine: pH and Solvent Polarity Measurement