Uniqueness of solutions for some nonlinear Dirichlet problems