Interpolation for generators and syzygies