State-of-the-art new combat management systems will be installed on both Royal Navy aircraft carriers to tackle new threats.