Efficiency of particle charging by an alternating electric field charger