Throughput and waiting-time analysis of an unsignalized T-intersection