Biophysical and structural characterisation of functional bacterial amyloid secretion systems