Systematic Study of Vortex Pinning and a Liquid–Glass Phase Transition in BaFe2–xNixAs2 Single Crystals