Court frees Polish man and his Tanzanian wife jailed for 30 years over cannabis