A guide to nanoscale IR spectroscopy: resonance enhanced transduction in contact and tapping mode AFM-IR.