Drones dropping drugs and weapons to dangerous prisoners being held in high-security jails are a “threat to national security”, a watchdog has warned.