Pressure effect on magnetic transitions in one-dimensional Ca3Co2O6