Mechanisms of COPII vesicle formation and protein sorting