Semiflexible chains in confined spaces.