Reduction of flexible container induced error for the composition analysis of in-flexible-container liquid based on differential optical-path spectrum