Coil optimization for MRI by conjugate gradient descent