Environment and human rights campaigners are to sue the Treasury over its injection of capital into the Royal Bank of Scotland.