77Se and125Te nuclear magnetic resonance investigations in II?VI and IV?VI compounds