Determination of origin of small lunar and terrestrial craters by depth diameter ratio