Automated evaluation of photographically recorded spark-source mass spectra