Are All U.S. Credit Unions Alike? A Generalized Model of Heterogeneous Technologies with Endogenous Switching and Correlated Effects