Graded Polynomial Identities of Triangular Algebras