Majority judgment and strategy-proofness: a characterization