Electro-optical detection of coherent radiation induced by relativistic electron bunches in the near and far fields