Fast synthesis of versatile nanocrystal-embedded hydrogels toward the sensing of heavy metal ions and organoamines