Score-based denoising for atomic structure identification