Medical school enrollment rising, but residency openings lag