Rohit Sharma's ton helps India take lead