Ferromagnetism in the Hubbard model with an infinite-range hopping