The Spanish government says police have seized three tons of cocaine from a cargo ship off the Canary Islands and arrested 16 people .