India remain in control of second Test despite England centuries by Harry Brook and Jamie Smith on Day Three.