Small-gap undulator research at the NSLS: concepts and results