Phase Field Modeling of Static and Dynamic Wetting