Real-time estimation of surgical procedure duration