Millions of Afghans defy Taliban threats, cast votes in historic elections