The cleansing action of soap in hard water is not satisfactory because soap