Antibacterial and Herbicidal Activity of Ring-Substituted 2-Hydroxynaphthalene-1-carboxanilides