Gold futures post gain of 1.8% for the week