Development and validation of a metallurgically based simulation model for crack generation during welding and heat treatment of superalloys