Gold posts strongest weekly gain since mid-April