A pairs trading strategy based on switching-regime volatility for commodity futures