Darboux transformation and vector solitons for a variable-coefficient coherently coupled nonlinear Schrödinger system in nonlinear optics