Domain-growth kinetics of systems with soft walls