Theory of resonant SNOM (scanning near-field optical microscopy): breakdown of the electric dipole selection rule in the reflection mode