Ponderomotive Force in a Dispersive Medium in a Variable Electromagnetic Field