Interpreting Spectral Energy Distributions from Young Stellar Objects. II. Fitting Observed SEDs Using a Large Grid of Precomputed Models