Estimating and identifying vector autoregressions under diagonality and block exogeneity restrictions