A Geometric Analysis of Neural Collapse with Unconstrained Features