A multidimensional version of the Carlson inequality