Exchange of electric and magnetic resonances in multilayered metal/dielectric nanoplates.