Hermite-Hadamard inequality in the geometry of banach spaces