A Framework for Real-Time Monitoring and Early Warning to Scaffold Safety at Construction Site