Cognizant to buy Advanced Technology Group to boost cloud capabilities