Hodge classes on self-products of K 3 surfaces