Functional signatures of ex-vivo dental caries onset