The Cauchy problem for coupled Yang-Mills and scalar fields in the Lorentz gauge