Oil prices end week post worst weekly loss since July