Learning Neural Duplex Radiance Fields for Real-Time View Synthesis