Secure communication with single-photon two-qubit states