Magnetization reversal in submicron ferromagnetic dots and antidots arrays