Crossover from subcritical to critical decay: random walk, self-avoiding walk, percolation