The 2dF Magellanic Clouds carbon star programme.