On derivations and commutativity in prime rings