Type-based termination, inflationary fixed-points, and mixed inductive-coinductive types