On the quantum discord of general X states