Unrestricted generation of pure two-qubit states and entanglement diagnosis by single-qubit tomography.