Ferromagnetism in the Hubbard model