Minimax Optimal Rates of Estimation in Functional ANOVA Models with Derivatives