Birational geometry of algebraic varieties with a pencil of Fano complete intersections