Crystal structure and superconductivity in the Ni-based ternary compound LaNiSi.