Determination of the compatibility between polymers and low molar mass compounds