Regression-based estimation of pain and facial expression intensity