Anisotropie dipole polarizabilities and quadrupole moments of open-shell atoms and ions: O, F, S, Cl, Se, Br and isoelectronic systems