Interaction between Closed-Shell Systems and Metal Surfaces