Work function, electron affinity and band bending of zinc oxide surfaces