how BPDUs prevent network loops