Designing production and service systems using queuing theory: principles and application to an airport passenger security screening system