Device for measurement of contact angles in static conditions