UK government says it will legalize gay marriage, but bar Church of England from involvement