NMR studies of ionic mobility and molecular mobility in polymer electrolytes