Morality justifies motivated reasoning