Spin structure of surface-supported single-molecule magnets from isomorphous replacement and X-ray magnetic circular dichroism.