Ranging and light field imaging with transparent photodetectors