Fabrication of Al-doped ZnO nanoparticles and their application as a semiconductor-based gas sensor for the detection of ammonia