Stochastic Compositional Gradient Descent under Compositional constraints