The documentary maker who exposed Jimmy Savile 'offered to sell names of DJ Jonathan King's child sex abuse victims' while working as a police detective on his case, judge claims