Control of 3D edge radiation structure with resonant magnetic perturbation fields applied to the stochastic layer and stabilization of radiative divertor plasma in LHD