Online Long-run Constrained Optimization