Variability and spectral classification of LMC giants: Results from DENIS and EROS