Amorphous carbon around carbon stars