Strike action by postal workers and RMT train staff has been cancelled following the death of the Queen.