Determination of surface free energy components of polymers from contact angle data using nonlinear programming methods