Size Effect on Curie and Ordering Temperatures of Magnetic Nanoalloys