Molecule–molecule and atom–molecule collisions with ultracold RbCs molecules