Princess Beatrice has said the premature birth of her daughter was “humbling”.