A man has been jailed for causing the death of his friend after driving his motorbike at 100mph in a bid to escape the police.