Layered high-gain lens antennas via discrete optical transformation