Heteroclinic connections for a double-well potential with an asymptotically periodic coefficient