The geometric and electronic structure of the ZnO(0001̄) surface