Instruments for measuring contact angle and surface free energy