Mitigation of corrosion and scale by combined inhibitors