The Princess of Wales visited Ty Hafan children's hospice near Cardiff on one of her first public engagements since her cancer diagnosis.