Judge: Opponents of Atlantic Yards project entitled to legal fees