Though Britain's jails are at bursting point, theatremakers are working with current and former prisoners to prepare them to rejoin their communities