Researchers develop method for 3D printing bacteria