Millions charge their phones this way every night, but experts say the habit could become far riskier during a heatwave