Johnston Press posts pre-tax loss of £23.9m