Isomer decay spectroscopy of 164Sm and 166Gd: midshell collectivity around N=100.