Aluminium producer Norsk Hydro reported a rise in earnings in the second quarter on the back of rising prices and stronger demand.