Integral calculation method of the efficiencies of laminar stratified gratings