Focusing on fundamentals helped these two BNY Mellon funds outperform in 2022