Structure, assembly and function of OmcZ nanowires