Iterative refinements of the Hermite-Hadamard inequality, applications to the standard means