Atomic structures and electronic properties of Cr-doped ZnO( ) surfaces