Galaxy evolution in Hickson compact groups: the role of ram-pressure stripping and strangulation.