Existence of three solutions for a perturbed two-point boundary value problem