Normal forms and chaos in thermosolutal convection