Quantitative criterion of the hydrophilicity of polymers