Microscopic Effective Interaction Between Electrons. Application to Sodium Clusters