Romania, Poland and Portugal cast votes in tightly contested elections