Cooperative Relative Localization in MAV Swarms with Ultra-wideband Ranging