Magnetic properties of intermetallic compounds studied by 169Tm Mössbauer spectroscopy