Inequalities of Green’s functions and positive solutions to nonlocal boundary value problems