Kohli century puts India in control on first day of 3rd Test