Structural optical and photocataytic properties of ternary compound transition metal dichalcogenide nanoparticles