Analysis of misalignment, twist, and bend in few-mode fibers using spatially and spectrally resolved imaging