Oil prices head for second weekly gain amid hopes for fuel demand recovery