Long period variables in the Large Magellanic Cloud from the EROS-2 survey