Si and GaAs mobility derived from a a hydrodynamical model for semiconductors based on the maximum entropy principle