Russians are casting ballots on the final day of parliamentary elections as Moscow was hit by what its governor described as the largest-scale attack on the city since the war in Ukraine began.