EP Operators and Generalized Inverses