Measurement of the branching fractions of the radiative charm decays D(0)->(K)overbar(*0)gamma and D(0)->phi gamma