The Dukes and Duchesses of Cambridge and Sussex will voice a new mental health campaign during a "national takeover" that will be simultaneously broadcast to millions of television viewers.