Development of an inexpensive tensiometer for surface tension and contact angle measurements