Safety integrity framework for automated driving