Eigenvalue problem for a class of nonlinear fractional differential equations