Anisotropic polarizability of erbium atoms