Multiple solutions for a Sturm-Liouville problem with mixed boundary conditions