Magnetically induced transparency and absorption in cholesteric liquid crystals