Specification of functional neurons and glia from human pluripotent stem cells