Measurement-Induced Geometric Phases