Morphology-tuned preparation of nanostructured resorcinol-formaldehyde carbonized polymers as highly sensitive electrochemical sensor for amaranth