An investigation of structural and optical properties of various oxide oxide and sulphide sulfide core shell nanocomposites to gauge potential applications in photocatalysis and photovoltaics