Quality prognostics system and method for manufacturing processes