Prediction of firm-level technical efficiencies with a generalized frontier production function and panel data