Eni has swung back to profit in the first quarter on improved oil and gas prices as the Italian