A shooting outside a Salt Lake City church during a funeral left two dead and several others injured, with no suspect immediately detained.