Chemical routes to chalcogenide materials as thin films or particles with critical dimensions with the order of nanometres