A high-resolution rotation curve of NGC 6822