An Integrated Data Engineering and Machine Learning Framework for Energy Prediction and Fault Detection in Smart Buildings