Local prisons have the worst conditions, says Chief Inspector