Divisibility results on Franel numbers and related polynomials