gold retreats after two sessions of gains