Static and dynamic polarisabilities, Cauchy coefficients and their anisotropies: an evaluation of DFT functionals