Magnetic relaxation in metallic films: Single and multilayer structures