Determinantal inequalities for block triangular matrices