Comparative study of the two large flares from SGR1900+14 with the BeppoSAX Gamma-Ray Burst Monitor