Conditional Normalizing Flows for Forward and Backward Joint State and Parameter Estimation