The decisions give priority to children’s right to a healthy environment, affecting the government’s coal-power plans