Dynamic space-variant optical interconnections using liquid crystal spatial light modulators