Gender difference in affective and nonaffective psychosis