these stated that imaginary friends were the private hallucinations and fantasies of disturbed children or those who had personality and social deficiencies , such as a nervous temperament or an inability to play well with other children .