The probabilities that maximize the entropy under a constraint of constant energy obey the Boltzmann probability distribution