Electronic thermal conductivity of multigap superconductors: Application to MgB 2