Influence of precursors and formation of heterostructures towards the enhanced photocatalytic activity of ZnO thin films deposited by spray pyrolysis