Significant amounts of money have been spent improving the conditions inside Scotland’s prisons, but more than one in five prisoners are still sharing cells designed for one person.