Guardian News and Media reports boost in digital revenue as losses fall to lowest level since 2008