A generalized integro-differential theory of nonlocal elasticity of n-Helmholtz type—part II: boundary-value problems in the one-dimensional case