On the last digits of consecutive primes