Quasiconvexity and separability in relatively hyperbolic groups