Coincidences in the values of the Euler and Carmichael functions