Japan November factory output stalls after rising for 5 months