Which type of muscle contraction occurs when a muscle generates force while lengthening, such as slowly lowering a weight?