Near‐field optical microscopy in transmission and reflection modes in combination with force microscopy