The BinaMIcS project: understanding the origin of magnetic fields in massive stars through close binary systems