Finite Element–Based Machine-Learning Approach to Detect Damage in Bridges under Operational and Environmental Variations