A statistical study of CMEs associated with metric type II bursts