It came at the right time, says Virat Kohli on his century against Australia