Kate Middleton will be hospitalized for up to 2 weeks after surgery, Kensington Palace announces