Synthesis, characterization, electrochemical and photocatalytic applications of metal oxide and sulphide nanoparticles