Best-selling author JK Rowling has secretly donated £75,000 to a cancer fund - in memory of a little girl to whom she read chapters of her unpublished Harry Potter book as the child lay dying.