The Duke and Duchess of Sussex have criticised "extraordinarily reckless" paparazzi they say were staking out their children's school.