One-step hydrothermal synthesis and optical properties of self-quenching-resistant carbon dots towards fluorescent ink and as nanosensors for Fe3+ detection