Coupling of cantilever lateral bending and torsion in torsional resonance and lateral excitation modes of atomic force microscopy