Electronic energy gap closure and metal-insulator transition in dense liquid hydrogen