did jk rowling sell rights to harry potter