Anomalous diffusion with absorption: exact time-dependent solutions