The structural and magnetic properties of films of Pr2Fe14B and Nd2Fe14B cosputtered with Ta