Foreigner detained in Russia's Barnaul accused of terrorist activity