William and Kate thank hospital for baby care