Riga, the capital of Latvia, has seen the full sweep of history, from its founding as a Christian outpost in 1201 to the final days of the Soviet Union.