A pycnometer is used to determine