Static and dynamic properties of spin glasses