Automation of axisymmetric drop shape analysis for measurements of interfacial tensions and contact angles