Sequential and nonsequential contributions to double ionization in strong laser fields