Doping Dependence of the Second Magnetization Peak, Critical Current Density, and Pinning Mechanism in BaFe2–xNixAs2 Pnictide Superconductors