Thiol-ene chemistry guided preparation of thiolated polymeric nanocomposite for anodic stripping voltammetric analysis of Cd2+ and Pb2+.