I looked at three years of exclusive CNET data of iPhone performance to find out which models hold their charges best.