Assembly of modified and non-native proteins in Rhodobacter sphaeroides and Escherichia coli