Regularity for functionals depending on the hessian determinant