New ion-optical devices utilizing oscillatory electric fields. I. Principle of operation and analytical theory of multipole devices with two-dimensional electric fields