Zinc and oxygen vacancies in ZnO nanorods