Existence results for a class of Dirichlet parametric boundary value problems with non smooth potential