Optimal design of transcranial magnetic stimulation coil with iron core