Rare variant method for identity-by-descent detection in sequence data, and the time to most recent common ancestor given identity-by-descent segment length