On the exact solutions of the intermediate long-wave equation