Who did Prince Edward marry in 1818 in the hopes of producing a child