This matters more at the residency level than the med school level. The programs you seem most interested in are not particularly competitive so doing well at any allo school will put you in very good shape. In general, learning which programs are strong is something you do later in med school, once you have picked a specialty, and you sit down with a mentor or two and find out which schools they have heard are good versus malignant. It is very much a word of mouth kind of thing -- there really isn't a good ranking system for this. And programs change from year to year, as big name docs get poached from school to school, or retire, etc. What was a great department 4 years ago often changes with changes in personnel, so it doesn't really pay to speculate as to what will be the place to be 4+ years from now.
Also bear in mind that your opinion of specialty is very likely to change once you see more. I know many people who showed up to med school set on a particular specialty, and then they saw it during rotations and hated it, or fell in love with something else. So you probably want a school that is pretty well rounded anyhow, since most change their mind. I personally wouldn't pick a med school based on this kind of concern. Find someplace you will like to be for 4 years and do well there.