Multicenter distorted-wave approach for electron-impact ionization of molecules