Contact AFM on soft surfaces: Elasticity and friction effects