Nanosecond machine learning event classification with boosted decision trees in FPGA for high energy physics