Eigenvalues of some nonlocal boundary value problems