Advances in engineered Bacillus subtilis biofilms and spores, and their applications in bioremediation, biocatalysis, and biomaterials