Optimal and distributed scheduling for multicell capacity maximization