The New Zealand cricket team called off their tour of Pakistan minutes before the first One-Day International (ODI) match was scheduled to start in Rawalpindi, citing a threat to their security, the governing bodies of the sport in both countries said.