Stable Object Reorientation using Contact Plane Registration