Chaos and ergodicity are decidable for linear cellular automata over (Z/mZ)n