The effect of nitrogen on the properties of zinc nitride thin films and their conversion into p-ZnO:N films