India post 502 at tea; Pujara on the brink of double century