Bounds on quantum nonlocality via partial transposition