Enhancement of optoelectronic properties of ZnO thin films by Al doping for photodetector applications