State Supreme Court affirms DNR authority to restrict, deny farm permits to protect water