A localized reduced-order modeling approach for PDEs with bifurcating solutions