Measurement of the branching ratios Gamma(D-s(*+)-> D-s(+)pi(0))/Gamma(D-s(*+)-> D-s(+)gamma) and Gamma(D-*0 -> D-0 pi(0))/Gamma(D-*0 -> D-0 gamma)