Soluble Boltzmann equations for internal state and Maxwell models