Extrinsic magnetoresistance and resistance relaxation in and films and heterostructures