A collection of pornography belonging to Franz Kafka has been discovered in the British Library in London and the Bodleian in Oxford.