EHN: add error for get_line_intensity

For get_line_intensity, add a ``ValueError`` when the border of the integral is outside the energy range.
What do you think about adding instructions on how to remove the offending line from metadata?