Star operations and generalized integral closures