Characterization of dominant strategy mechanisms