Structural basis for stabilization of Z-DNA by cobalt hexaammine and magnesium cations.