Two U.S. aircraft carriers were conducting exercises in the disputed South China Sea as China also carried out military drills that have been criticised.