Room Shape Estimation from Acoustic Echoes using Graph-based Echo Labeling