Stationary and dynamical properties of polarons in the anharmonic Holstein model