Anisotropic scattering in angular-dependent magnetoresistance oscillations of quasi-two-dimensional and quasi-one-dimensional metals: Beyond the relaxation-time approximation