An Optimal Adaptive Grid Method Based on L1 Scheme for a Nonlinear Caputo Fractional Differential Equation