psychological effects of losing custody