Weighted group algebras on groups of polynomial growth