The inertia of certain Hermitian skew-triangular block matrices