More than 300 US newspapers run editorials promoting press freedom after Trump attacks on media