Hardik and Dube smash half-centuries; India recover from early slump