H II regions in M82 - High-resolution millimeter continuum observations