Measurement of swelling pressure: direct method versus indirect methods