Russian opposition figure Alexey Navalny, who was returning from Berlin, where he was receiving treatment for an alleged nerve agent attack, has been detained by police on arrival at a Moscow airport.