Improper priors with well defined Bayes Factors