Lie and Jordan structure in prime rings with derivations