Designing a large field-of-view two-photon microscope using optical invariant analysis.