Scaling theory of DNA confined in nanochannels and nanoslits.