Correlation between chemical structure and electrical properties in sol-gel derived Al-doped zinc oxide thin films