Heavy baryons in the relativistic quark model