On the relaxation of some types of Dirichlet minimum problems for unbounded functionals