Synthesis and applications of chalcogenide nanomaterials