Dielectric function and infrared absorption of small metal particles