Assembly of chalcogenide clusters into inorganic and hybrid materials