Parameter-independent model reduction of transient groundwater flow models: Application to inverse problems