On the unitary Cayley graph of a ring