On extreme order statistics from heterogeneous beta distributions with applications