compareLogs.py: Add option to calculate relative energy differences