Prison population climbs to six-month high despite early-release scheme