Government's prison capacity plan criticised