Buckling analysis of Euler–Bernoulli beams using Eringen’s two-phase nonlocal model