A closed-form formula characterization of the Epps effect