Dark photons from nuclear transitions