Investigation of chemical and spin dynamics in micellized radical pairs by time-resolved stimulated nuclear polarization. Theory and experiment