Photometric determination of cell permeability at constant volume