Automated Detection of Pain Across Varied Intensity Levels Through the Fusion of CNN and Random Forest