The Duke of Cambridge says he will take action against two photographers that are "hounding" his son.