The novels being read by criminals in prison have been revealed - and some of them contain very violent themes.