Boosted Trees on a Diet: Compact Models for Resource-Constrained Devices