Isomer Decay Spectroscopy of Sm164 and Gd166: Midshell Collectivity Around N=100