The publisher of the Sun newspaper has agreed to pay "substantial damages" and apologised to the Duke of Sussex to settle a ...