Comparison of carrier transport mechanism under UV/Vis illumination in an AZO photodetector and an AZO/p-Si heterojunction photodiode produced by spray pyrolysis