Constructing accurate coarse-grained force fields by variational minimization: The subtle balance between accuracy and sparseness