Role of precursor dependent nanostructures of ZnO on its optical and photocatalytic activity and influence of FRET between ZnO and methylene blue dye on photocatalysis