Jordan structures of upper equivalent matrices