Transient mass and heat transfer from drops or bubbles in slow non-Newtonian flows