Formation and Prevention of Oilfield Scale and Corrosion