Measurement of activities of solvents in binary polymer solutions