Johnston Press reports £300m loss after huge newspaper writedown