Near-field scanning optical microscopy with an active probe