Mineralization of flagella for nanotube formation