Hypersurfaces of prescribed curvature measure