Prison governor attacks 'fantasy' that criminals can be rehabilitated behind bars