Demographic pathways and genetic consequences of range expansion