The Complexity And Expressive Power Of Valued Constraints