Synthesis of metal oxide and metal sulphide nanocomposites by electrochemical method and their application in catalytic reactions