Crossover phenomena in spin models with medium-rnge interactions and self-avoiding walks with medium-range jumps