Nuclear pores and membrane holes: generic models for confined chains and entropic barriers in pore stabilization.