In Shielded Metal Arc Welding (SMAW), what is the primary function of the electrode's flux coating during the welding process?