Smoothing analysis of variance for general designs