These bond funds withstood the 2008 and 2020 recessions. What investors can learn from them