Characterization of the photothermal deflection densitometer