Pathways to emotional dysfunction in first-episode psychosis