Election results in Brazil, Serbia, Israel and US renew faith in resilience of democracy