Simulating cosmic rays in clusters of galaxies – II. A unified scheme for radio haloes and relics with predictions of the γ-ray emission | Synapse