Strong-coupling perturbation theory of the Hubbard model