A Prince Harry and Prince William documentary could damage the BBC's coverage of the Queen's Platinum Jubilee after it was denounced by the royal family.