Optical generation, distribution, and control of microwaves using laser heterodyne