Physico-chemical foundations underpinning microarray and next-generation sequencing experiments