Size of Multilayer Networks for Exact Learning: Analytic Approach