Elastic interaction between linear polymeric chains and periodic potentials