A unified account of motivated ignorance