Bifurcation in infinite dimensional spaces and applications in spatiotemporal biological and chemical models