Correlation of near-field optical microscopy and tip-assisted photoluminescence