Historical and analytic notes on Hermite-Hadamard inequalities