Psychopathological functions of religious or ideological conversion and its connection with terrorism