Design and applications of an in situ electrochemical NMR cell.