What factors affect the charging speed and data transfer rate of a USB cable?