Linear instability driven by an electric field in two-layer channel flow of Newtonian and Herschel–Bulkley fluids