State estimation and error diagnosis for biotechnological processes