Determination of photon efficiencies and hydrocarbon influxes in the detached outer divertor plasma of ASDEX Upgrade