Structure and magnetic properties of Sr2NiAO6 (A = W, Te)