An extended block Golub–Kahan algorithm for large algebraic and differential matrix Riccati equations. (15th April 2020)