Size dependence of phase transition temperatures of ferromagnetic, ferroelectric and superconductive nanocrystals