Comparison of size effects in aluminum and silicon clusters