Quadratic performance criteria with linear terms in discrete-time control