The Sun pre-tax loses drop from £63m to £24m in 2017