Theory of the Maxwell pressure tensor and the tension in a water bridge