All-optical realization of an atom laser