Measurement of the cross sections of the reactions e+e− → γγ and e+e− → γγγ at LEP