Equilibrium Properties Of Dna And Other Semiflexible Polymers Confined In Nanochannels