High Court rules prison 'book ban' is unlawful