Iyer hits career-best double ton, but Australia in front