Machine learning for automated pain assessment using physiological signals