Century 21 China franchisor posts loss on 'tough' Q2