Pinning properties of superfluid vortices in the crust of neutron stars