Low temperature chemical preparation of semiconducting transition metal chalcogenide films for energy conversion and storage, lubrication and surface protection