Periodic solutions of Lagrangian systems with bounded potential