Spout pouch filling and capping machine