Estimation of critical cooling rates for formation of amorphous alloys from critical sizes