Fixed Effects and the Generalized Mundlak Estimator