The tidally induced warping, precession and truncation of accretion discs