Number one sportswear firm Nike has won top marks on an index which rates how gay-friendly companies are.