Graded algebras with polynomial growth of their codimensions