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.
This name is indeed more explicit. The method that take elements and return a list of X-ray already exist, it is ``_get_lines_from_elements``