Deformations of (bi)tensor categories