Gilbert damping in magnetic multilayers