Bivariate distributions with nonmonotone dependence structure