Police in Russia have detained more than 2,000 people at anti-war protests