Physical and structural properties of the new layered compounds Ta2NiS5 and Ta2NiSe5