Inertia theorems for Lyapunov and Riccati equations - An updated view