Sol–gel prepared ZnO:Al thin films for heterojunction diodes