Subgroup separability and 3-manifold groups