North Korea accuses US, South Korea of flying spy planes, ships