Suns beat 76ers to end six-game skid