Effect of confinement on the mesoscale and macroscopic swelling of thin block copolymer films.