Spectroscopic, magnetic and X-ray powder diffraction studies on U(III) and Np(III) formates