Camera Relocalization in Shadow-free Neural Radiance Fields