Measurement of contact angles from the maximum diameter of non-wetting drops by means of a modified axisymmetric drop shape analysis