Pregnant Duchess of Cambridge leaves hospital