Spin current and shot noise from a quantum dot coupled to a quantized cavity field