An inflationary model with small scalar and large tensor nongaussianities