Bogdanov-Takens bifurcation, homoclinic orbits, exponentially small phenomena