Retail inflation cools in July to 6.7%; IIP grows 12.3% in June