Intensity correlations in perturbed optical vortices: diagnosis of the topological charge