Short Period Undulators for Storage Rings and Free Electron Lasers