Out-of-Distribution Detection with Distance Guarantee in Deep Generative Models