CMB and 21-cm signals for dark matter with a long-lived excited state | Synapse