Tight junctions: from simple barriers to multifunctional molecular gates