Russia has released an American teacher imprisoned over what his family said was prescribed medical marijuana, but several other Americans are still detained.