Relaxation of plasmons in nm-sized metal particles located on or embedded in an amorphous semiconductor