Univariate and bivariate truncated von Mises distributions