When the unit, unitary and total graphs are ring graphs and outerplanar