The inertia of a Hermitian matrix having prescribed complementary principal submatrices