The MIMA project. Design, construction and performances of a compact hodoscope for muon radiography applications in the context of archaeology and geophysical prospections