Wall effects in critical systems: Scaling in Ising model strips