Frequency dependent polarizability of small metallic grains