Theory of spin-fluctuation resistivity near the critical point of ferromagnets