Dayton vows to appeal court's ruling against coal power law