Radiative capture and decays in ab initio nuclear theory