Two US Navy carrier groups have conducted joint exercises in the South China Sea in a move decried by Beijing as damaging peace and stability in the region.