Programmable biofilm-based materials from engineered curli nanofibres