Gold settles higher, extends gains in electronic trading after Fed statement