Photometric Titration of Carboxyl End Groups in Polymers