The design of the wide field monitor for the LOFT mission