Police in Portugal and Spain say they have seized hundreds of kilograms of cocaine hidden inside fresh pineapples, and arrested nine members of a gang that had transported the drug from South America.