Codimensions of algebras and growth functions