Low-temperature chemistry induced by cosmic rays: positive and negative ion desorption from nitrile-bearing astrophysical ice analogues