About 250,000 people have demonstrated against Iran’s government on the sidelines of a gathering of world leaders in Germany.