Application of Green's-function technique to the calculation of multiphoton absorption coefficients of crystalline solids