Polynomial identities for the Jordan algebra of upper triangular matrices of order 2