Heavy Ω c and Ω b baryons in the quark model