Authorities in two Russian regions have blocked the Telegram messenger because of concerns that the app could be used by enemies.