Nanodots Derived from Layered Materials: Synthesis and Applications