Oil prices mark first weekly gain in 5 weeks; natural-gas futures end the week 14% higher