Dissecting the molecular structure of the Orion B cloud: insight from principal component analysis