Experimental studies of pedestrian flows under different boundary conditions