First gay Episcopal bishop to retire in 2013