Degrees of Growth of Finitely Generated Groups, and the Theory of Invariant Means