Active Perception using Neural Radiance Fields