Investigations of slow exchange processes at metal and oxide surfaces and interfaces using secondary ion mass spectrometry