Sol-gel synthesis and characterization of undoped and Al-doped ZnO thin films for memristive application