A watchdog has said deliveries of drugs and weapons to prison by drone are a national security threat.