Notes on the design of experiments and beam diagnostics with synchrotron light detected by a gated photomultiplier for the Fermilab superconducting electron linac and for the Integrable Optics Test Accelerator (IOTA)