who did cora marry in once upon a time