Bond yields inched higher, but remained close to record lows as investors sought safety after Britain’s vote to leave the European Union.