Spectrophotometric variable selection by mutual information