Estimation of species divergence times in presence of cross-species gene flow