Which organelle packs and sorts proteins into vesicles for transport inside and outside of the cell?