Stability of the Einstein static Universe in Einstein–Cartan–Brans–Dicke gravity