Work function determination of zinc oxide films