Intra- and inter-chain fluctuations in entangled polymer melts in bulk and confined to pore channels