Identifying CNVs under Selection Using a Bayesian Method