Algorithms with Logarithmic or Sublinear Regret for Constrained Contextual Bandits